//
//  CJDownloadTableViewCell.m
//  CoJellyCartoon
//
//  Created by kingbw on 16/4/12.
//  Copyright © 2016年 CJG. All rights reserved.
//

#import "CJDownloadTableViewCell.h"

@implementation CJDownloadTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.numberLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        self.numberLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.numberLabel];
        
        self.nameLabel = [[UILabel alloc] initWithFrame:CGRectZero];
        self.nameLabel.font = [UIFont systemFontOfSize:16];
        [self addSubview:self.nameLabel];
    }
    return self;
}

- (void)layoutSubviews {
    self.numberLabel.frame = CGRectMake(0, 0, 30, ScreenHeight / 15);
    self.nameLabel.frame = CGRectMake(30, 0, ScreenWidth - 40, ScreenHeight / 15);
}



@end
